Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 17 - File Objects / File Objects Reference
File Objects Routines / Accessing Objects Directly


Q3File_GetNextObjectType

You can use the Q3File_GetNextObjectType function to get the type of the next object in a file.

TQ3ObjectType Q3File_GetNextObjectType (TQ3FileObject file);
file
A file object.
DESCRIPTION
The Q3File_GetNextObjectType function returns, as its function result, the type of the next object in the file object specified by the file parameter. Depending on the type of that object, you can then call Q3File_ReadObject to read it or Q3File_SkipObject to skip it.

If an error occurs, Q3File_GetNextObjectType returns the value kQ3ObjectTypeInvalid.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996